Xbasic

OBJECT.INDEX_NAME Function

Syntax

.Index_name()

Description

Returns the name of the current primary index or query.

Discussion

The <OBJECT>.INDEX_NAME() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.INDEX_NAME() method returns the name of the current primary index or query.

Example

dim ptr as P
ptr = form.load("Customer Information")
ptr.show()
? ptr.Index_Name()
= "Lastname0"

Limitations

Desktop applications only.

See Also